﻿@using MiniWeb.Core.Dtos
@using MiniWeb.Core.Entities
@using MiniWeb.Core.Enums
@using WFramework.Common
@using WFramework.Extensions
@using WFramework.MvcPager
@{
    Layout = "~/Views/Shared/_BaseLayout.cshtml";
    var typelist = ViewData["typelist"] as List<NewsType>;
    ViewBag.Title = Model.Title + ",商城资讯,";
}
@model News
<div class="sub-box">
    <div class="area">
        <div class="sub-current">
            <a href="../index.aspx.htm" tppabs="http://www.boyimall.com/index.aspx">西藏特产</a>&nbsp;&gt;&nbsp;购物流程</div>
        <div class="sub-cart clear">
            <div class="left me-cart">
                <div class="leftnav">
                    <div class="menu_head hover">
                        <div class="ico">
                            购物指南</div>
                    </div>
                    <ul class="menu_body" style="display: block;">
                        @foreach (var item in typelist.Where(c => c.ParentType == 2))
                        {
                            <li><a class="n" href="/about/cid=@item.ID" >@item.TypeName</a></li>
                        }
                    </ul>
                    <div class="menu_head hover">
                        <div class="ico">
                            配送方式</div>
                    </div>
                    <ul class="menu_body" style="display: block;">
                        @foreach (var item in typelist.Where(c => c.ParentType == 3))
                        {
                            <li><a class="n" href="/about/cid=@item.ID" >@item.TypeName</a></li>
                        }
                    </ul>
                    <div class="menu_head hover">
                        <div class="ico">
                            支付方式</div>
                    </div>
                    <ul class="menu_body" style="display: block;">
                        @foreach (var item in typelist.Where(c => c.ParentType == 4))
                        {
                            <li><a class="n" href="/about/cid=@item.ID" >@item.TypeName</a></li>
                        }
                    </ul>
                    <div class="menu_head">
                        <div class="ico">
                            售后服务</div>
                    </div>
                    <ul class="menu_body">
                        @foreach (var item in typelist.Where(c => c.ParentType == 5))
                        {
                            <li><a class="n" href="/about/cid=@item.ID" >@item.TypeName</a></li>
                        }
                    </ul>
                </div>
                <!--leftnav-->
            </div>
            <div class="right m-about-box">
                <div class="status-tit">
                    <h2>@Model.TypeName</h2>
                    <span></span>
                </div>
                <!--status-tit-->
                <div class="sub-about">
                    <br>
                    <div class="about-con">
                        @MvcHtmlString.Create(Model.Content)
                    </div>
                    <!--about-con-->
                </div>
                <!--sub-about-->
            </div>
            <!--m-status-->
        </div>
        <!--sub-cart-->
        @Html.Action("SeeHistoryAndLove", "MainLayout")
    </div>
</div>
